package com.yangwp.java.spider.weibo.src;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 11070538
 */


public class Application {
    public static void main(String[] args){
        args = new String[] {
                "classpath:spring/applicationContext.xml"
        };
        ApplicationContext actx = new ClassPathXmlApplicationContext(args);
        Entry entry = (Entry) actx.getBean("entry");
        entry.main(actx);
    }
}
